/*
 * Author:        Pierre-Henry Soria <ph7software@gmail.com>
 * Copyright:     (c) 2012-2016, Pierre-Henry Soria. All Rights Reserved.
 * License:       GNU General Public License; See PH7.LICENSE.txt and PH7.COPYRIGHT.txt in the root directory.
 */

.input_error{float:left;margin-left:2em;font-size:.95em;font-family:"Lucida Grande", "Lucida Sans Unicode", "Myriad Pro", Tahoma, Arial, Verdana, sans-serif;}
.warn_msg{color:#C09853;font-size:12px;padding:10%}
label{display:block}
button{margin:6px}
button.success{font-weight:bold}
button:active{color: #000}
border:hover, border:active{border-color:2px solid #000}
.is_checked{background:#FF8}
textarea{white-space:pre-line !important}

input, textarea, select {
    box-sizing:content-box; /* Bugfix with Botstrap for transition in forms */
    font-size: 14px;
    border: 1px solid #ccc;
    color: #3F3F3F;
    text-shadow: 0 1px 0 rgba(200, 200, 200, .6);
    box-shadow: 1px 1px 4px #aaa inset;
    border-radius: 5px;
    transition: border linear 0.3s, box-shadow linear 0.3s;
    -webkit-transition: border linear 0.3s, box-shadow linear 0.3s;
    -moz-transition: border linear 0.3s, box-shadow linear 0.3s;
    -o-transition: border linear 0.3s, box-shadow linear 0.3s;
    -ms-transition: border linear 0.3s, box-shadow linear 0.3s;
    -khtml-transition: border linear 0.3s, box-shadow linear 0.3s;

     transition: padding .25s;
    -moz-transition: padding .25s;
    -webkit-transition: padding .25s;
    -o-transition: padding .25s;
    -ms-transition: padding .25s;
    -khtml-transition: padding .25s;
    white-space: nowrap;
}
input:focus, textarea:focus, select:focus {
    outline:0;
    border-color:rgba(82,168,236,.8);
    box-shadow:1px 1px 4px #aaa inset,0 0 8px rgba(82,168,236,.6);
    padding-right:30px;
}

input, textarea{padding:7px}
select{padding: 6px 7px}

.captcha{height:60px;width:70%;border-radius:5px;}
.captcha_button{margin:4px;float:right}

input:focus, textarea:focus {
  background-position: 98%;
  background-repeat: no-repeat;
}

input:focus:invalid:not([type=submit]), textarea:focus:invalid {
    background-image: url('');
}
input:focus:valid:not([type=submit]), input:focus:invalid {
    background-image: url('');
}

.form_link, .form_link div[id^=pfbc-element-] {
    display:inline;
}

.form_link input[type=submit] {
    color: #08c;
    outline-style: none;
    cursor: pointer;
    padding: 0;
    font-size: inherit;
    border: none;
    background: none;
    text-shadow: none;
    box-shadow: none;
    border-radius: 0;
    transition: none;
    -webkit-transition: none;
    -moz-transition: none;
    -o-transition: none;
    -ms-transition: none;
    -khtml-transition: none;
}

.form_link input[type=submit]:hover, .form_link input[type=submit]:active {
    color:#F24C9E;
    text-decoration:underline;
    text-shadow: 0 0 5px #fff,0 0 8px rgba(255,255,255,.6);
}
